Hi Ray,
Sorry I missed this. But I'm not exactly sure what you are asking.
There is a Console Script command that can set the Limit Switch Options. See:
When an axis hits a limit the axis is disabled.
A message is sent to the Console such as:
Axis:N Neg Limit Disabled
Otherwise you might need to check the limit input bit status.
Regards
TK
| Group: DynoMotion |
Message: 5092 |
From: himykabibble |
Date: 5/29/2012 |
| Subject: Re: dotNet Question |
Tom,
What I'd like to be able to do is read the limit switch options from my app, to aid in limit handling in the app. Is there a way to do that?
Also, right now, when I hit a limit, the axis is getting disabled, but when I check the enable state through dotNet, it does not show as disabled. I'm still using 429x, so hopefully that is a bug that is fixed in 429?
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Ray,
> Â
> Sorry I missed this. But I'm not exactly sure what you are asking.
> Â
> There is a Console Script command that can set the Limit Switch Options. See:
> Â
> http://www.dynomotion.com/Help/Cmd.htm#LimitSwitch
> Â
> When an axis hits a limit the axis is disabled.
> Â
> A message is sent to the Console such as:
> Â Axis:N
> Â
> Otherwise you might need to check the limit input bit status.
> Â
> Regards
> TKNeg Limit Disabled
>
> From: himykabibble <jagboy@...>
> To: DynoMotion@yahoogroups.com
> Sent: Tuesday, May 29, 2012 5:26 PM
> Subject: [DynoMotion] Re: dotNet Question
>
>
> Â
> No answer on this??
>
> --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> >
> > How can I access the channel structure LimitSwitchOptions field from a dotNet app? Or, is there some other way to determine that an axis has hit a limit?
> >
> > Regards,
> > Ray L.
> >
>
|
|
| Group: DynoMotion |
Message: 5094 |
From: bradodarb |
Date: 5/29/2012 |
| Subject: Re: dotNet Question |
I updated the .net source to implement the limit switch functionality as you would find it when configuring in KMotion.exe -> Setup and Config.
Have a look at the TuningParams property of the KM_Axis object and let me know if you have any questions.
As previously stated, this was implemented in MM and I did test it there, but have not tested it here. Please report your findings.
-Brad
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Tom,
>
> What I'd like to be able to do is read the limit switch options from my app, to aid in limit handling in the app. Is there a way to do that?
>
> Also, right now, when I hit a limit, the axis is getting disabled, but when I check the enable state through dotNet, it does not show as disabled. I'm still using 429x, so hopefully that is a bug that is fixed in 429?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Ray,
> > Â
> > Sorry I missed this. But I'm not exactly sure what you are asking.
> > Â
> > There is a Console Script command that can set the Limit Switch Options. See:
> > Â
> > http://www.dynomotion.com/Help/Cmd.htm#LimitSwitch
> > Â
> > When an axis hits a limit the axis is disabled.
> > Â
> > A message is sent to the Console such as:
> > Â Axis:N
> > Â
> > Otherwise you might need to check the limit input bit status.
> > Â
> > Regards
> > TKNeg Limit Disabled
> >
> > From: himykabibble <jagboy@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Tuesday, May 29, 2012 5:26 PM
> > Subject: [DynoMotion] Re: dotNet Question
> >
> >
> > Â
> > No answer on this??
> >
> > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > >
> > > How can I access the channel structure LimitSwitchOptions field from a dotNet app? Or, is there some other way to determine that an axis has hit a limit?
> > >
> > > Regards,
> > > Ray L.
> > >
> >
>
|
|
| Group: DynoMotion |
Message: 5095 |
From: himykabibble |
Date: 5/29/2012 |
| Subject: Re: dotNet Question |
Brad,
I'm not sure that does what I need. My DSP limit changes the LimitSwitchOptions on-the-fly - has to in order to handle the way limit switches are configured on my machine. It doesn't appear to me that the TuningParameters->LimitSwitch value gets updated dynamically.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> I updated the .net source to implement the limit switch functionality as you would find it when configuring in KMotion.exe -> Setup and Config.
>
> Have a look at the TuningParams property of the KM_Axis object and let me know if you have any questions.
>
>
> As previously stated, this was implemented in MM and I did test it there, but have not tested it here. Please report your findings.
>
> -Brad
>
> --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> >
> > Tom,
> >
> > What I'd like to be able to do is read the limit switch options from my app, to aid in limit handling in the app. Is there a way to do that?
> >
> > Also, right now, when I hit a limit, the axis is getting disabled, but when I check the enable state through dotNet, it does not show as disabled. I'm still using 429x, so hopefully that is a bug that is fixed in 429?
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray,
> > > Â
> > > Sorry I missed this. But I'm not exactly sure what you are asking.
> > > Â
> > > There is a Console Script command that can set the Limit Switch Options. See:
> > > Â
> > > http://www.dynomotion.com/Help/Cmd.htm#LimitSwitch
> > > Â
> > > When an axis hits a limit the axis is disabled.
> > > Â
> > > A message is sent to the Console such as:
> > > Â Axis:N
> > > Â
> > > Otherwise you might need to check the limit input bit status.
> > > Â
> > > Regards
> > > TKNeg Limit Disabled
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Tuesday, May 29, 2012 5:26 PM
> > > Subject: [DynoMotion] Re: dotNet Question
> > >
> > >
> > > Â
> > > No answer on this??
> > >
> > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > >
> > > > How can I access the channel structure LimitSwitchOptions field from a dotNet app? Or, is there some other way to determine that an axis has hit a limit?
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > >
> >
>
|
|
| Group: DynoMotion |
Message: 5096 |
From: bradodarb |
Date: 5/29/2012 |
| Subject: Re: dotNet Question |
LimitSwitch is just a property wrapper around the console command.(Mainly if you were packing your own values into a hex screen)
Have a look at properties::
LimitSwitchWatchNeg
LimitSwitchStopWhenLowNeg
LimitSwitchBitNeg
LimitSwitchWatchPos
LimitSwitchStopWhenLowPos
LimitSwitchBitPos
LimitSwitchAction
Set those as you would in KMotion.exe and then make a call to::
UpdateLimitParams()
It is a one way street, as the aforementioned properties are not being updated from the device. I have not been able to think of a use case where you would need to read them back from the device(except a configuration util... is somebody is going to make a .net version of KMotion.exe?)
If you need to read values, you can use the BitNode class I included in that last update to extract the values from the console command's hex string.
-Brad
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> I'm not sure that does what I need. My DSP limit changes the LimitSwitchOptions on-the-fly - has to in order to handle the way limit switches are configured on my machine. It doesn't appear to me that the TuningParameters->LimitSwitch value gets updated dynamically.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > I updated the .net source to implement the limit switch functionality as you would find it when configuring in KMotion.exe -> Setup and Config.
> >
> > Have a look at the TuningParams property of the KM_Axis object and let me know if you have any questions.
> >
> >
> > As previously stated, this was implemented in MM and I did test it there, but have not tested it here. Please report your findings.
> >
> > -Brad
> >
> > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > >
> > > Tom,
> > >
> > > What I'd like to be able to do is read the limit switch options from my app, to aid in limit handling in the app. Is there a way to do that?
> > >
> > > Also, right now, when I hit a limit, the axis is getting disabled, but when I check the enable state through dotNet, it does not show as disabled. I'm still using 429x, so hopefully that is a bug that is fixed in 429?
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Ray,
> > > > Â
> > > > Sorry I missed this. But I'm not exactly sure what you are asking.
> > > > Â
> > > > There is a Console Script command that can set the Limit Switch Options. See:
> > > > Â
> > > > http://www.dynomotion.com/Help/Cmd.htm#LimitSwitch
> > > > Â
> > > > When an axis hits a limit the axis is disabled.
> > > > Â
> > > > A message is sent to the Console such as:
> > > > Â Axis:N
> > > > Â
> > > > Otherwise you might need to check the limit input bit status.
> > > > Â
> > > > Regards
> > > > TKNeg Limit Disabled
> > > >
> > > > From: himykabibble <jagboy@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Tuesday, May 29, 2012 5:26 PM
> > > > Subject: [DynoMotion] Re: dotNet Question
> > > >
> > > >
> > > > Â
> > > > No answer on this??
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > > >
> > > > > How can I access the channel structure LimitSwitchOptions field from a dotNet app? Or, is there some other way to determine that an axis has hit a limit?
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > >
> > >
> >
>
|
|
| Group: DynoMotion |
Message: 5097 |
From: bradodarb |
Date: 5/29/2012 |
| Subject: Re: dotNet Question |
""" It doesn't appear to me that the
TuningParameters->LimitSwitch value gets updated dynamically.
"""
It gets updated every time you read the value(as a hex string as if you were in console).
-Brad
--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> LimitSwitch is just a property wrapper around the console command.(Mainly if you were packing your own values into a hex screen)
>
>
> Have a look at properties::
> LimitSwitchWatchNeg
> LimitSwitchStopWhenLowNeg
> LimitSwitchBitNeg
> LimitSwitchWatchPos
> LimitSwitchStopWhenLowPos
> LimitSwitchBitPos
> LimitSwitchAction
>
> Set those as you would in KMotion.exe and then make a call to::
> UpdateLimitParams()
>
>
> It is a one way street, as the aforementioned properties are not being updated from the device. I have not been able to think of a use case where you would need to read them back from the device(except a configuration util... is somebody is going to make a .net version of KMotion.exe?)
>
> If you need to read values, you can use the BitNode class I included in that last update to extract the values from the console command's hex string.
>
>
> -Brad
>
>
> --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> >
> > Brad,
> >
> > I'm not sure that does what I need. My DSP limit changes the LimitSwitchOptions on-the-fly - has to in order to handle the way limit switches are configured on my machine. It doesn't appear to me that the TuningParameters->LimitSwitch value gets updated dynamically.
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > >
> > > I updated the .net source to implement the limit switch functionality as you would find it when configuring in KMotion.exe -> Setup and Config.
> > >
> > > Have a look at the TuningParams property of the KM_Axis object and let me know if you have any questions.
> > >
> > >
> > > As previously stated, this was implemented in MM and I did test it there, but have not tested it here. Please report your findings.
> > >
> > > -Brad
> > >
> > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > >
> > > > Tom,
> > > >
> > > > What I'd like to be able to do is read the limit switch options from my app, to aid in limit handling in the app. Is there a way to do that?
> > > >
> > > > Also, right now, when I hit a limit, the axis is getting disabled, but when I check the enable state through dotNet, it does not show as disabled. I'm still using 429x, so hopefully that is a bug that is fixed in 429?
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi Ray,
> > > > > Â
> > > > > Sorry I missed this. But I'm not exactly sure what you are asking.
> > > > > Â
> > > > > There is a Console Script command that can set the Limit Switch Options. See:
> > > > > Â
> > > > > http://www.dynomotion.com/Help/Cmd.htm#LimitSwitch
> > > > > Â
> > > > > When an axis hits a limit the axis is disabled.
> > > > > Â
> > > > > A message is sent to the Console such as:
> > > > > Â Axis:N
> > > > > Â
> > > > > Otherwise you might need to check the limit input bit status.
> > > > > Â
> > > > > Regards
> > > > > TKNeg Limit Disabled
> > > > >
> > > > > From: himykabibble <jagboy@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Tuesday, May 29, 2012 5:26 PM
> > > > > Subject: [DynoMotion] Re: dotNet Question
> > > > >
> > > > >
> > > > > Â
> > > > > No answer on this??
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > > > >
> > > > > > How can I access the channel structure LimitSwitchOptions field from a dotNet app? Or, is there some other way to determine that an axis has hit a limit?
> > > > > >
> > > > > > Regards,
> > > > > > Ray L.
> > > > > >
> > > > >
> > > >
> > >
> >
>
|
|
| Group: DynoMotion |
Message: 5099 |
From: TK |
Date: 5/30/2012 |
| Subject: Re: dotNet Question |
Hi Ray,
You can use the Console Command
LimitSwitchN
To report back the current setting for axis N
TK On May 29, 2012, at 10:21 PM, "himykabibble" <jagboy@...> wrote:
Brad,
I'm not sure that does what I need. My DSP limit changes the LimitSwitchOptions on-the-fly - has to in order to handle the way limit switches are configured on my machine. It doesn't appear to me that the TuningParameters->LimitSwitch value gets updated dynamically.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> I updated the .net source to implement the limit switch functionality as you would find it when configuring in KMotion.exe -> Setup and Config.
>
> Have a look at the TuningParams property of the KM_Axis object and let me know if you have any questions.
>
>
> As previously stated, this was implemented in MM and I did test it there, but have not tested it here. Please report your findings.
>
> -Brad
>
> --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> >
> > Tom,
> >
> > What I'd like to be able to do is read the limit switch options from my app, to aid in limit handling in the app. Is there a way to do that?
> >
> > Also, right now, when I hit a limit, the axis is getting disabled, but when I check the enable state through dotNet, it does not show as disabled. I'm still using 429x, so hopefully that is a bug that is fixed in 429?
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Ray,
> > > Â
> > > Sorry I missed this. But I'm not exactly sure what you are asking.
> > > Â
> > > There is a Console Script command that can set the Limit Switch Options. See:
> > > Â
> > > http://www.dynomotion.com/Help/Cmd.htm#LimitSwitch
> > > Â
> > > When an axis hits a limit the axis is disabled.
> > > Â
> > > A message is sent to the Console such as:
> > > Â Axis:N
> > > Â
> > > Otherwise you might need to check the limit input bit status.
> > > Â
> > > Regards
> > > TKNeg Limit Disabled
> > >
> > > From: himykabibble <jagboy@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Tuesday, May 29, 2012 5:26 PM
> > > Subject: [DynoMotion] Re: dotNet Question
> > >
> > >
> > > Â
> > > No answer on this??
> > >
> > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote:
> > > >
> > > > How can I access the channel structure LimitSwitchOptions field from a dotNet app? Or, is there some other way to determine that an axis has hit a limit?
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > >
> >
>
|
|
| Group: DynoMotion |
Message: 5100 |
From: Brad Murry |
Date: 5/30/2012 |
| Subject: Re: dotNet Question |
FYI for anyone using .net and the KM_Axis class, KM_Axis.TuningParams.LimitSwitch does the same thing as that console command. -Brad From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of TK Sent: Wednesday, May 30, 2012 12:33 AM To: DynoMotion@yahoogroups.com Subject: Re: [DynoMotion] Re: dotNet Question You can use the Console Command To report back the current setting for axis N
TK On May 29, 2012, at 10:21 PM, "himykabibble" <jagboy@...> wrote:
Brad,
I'm not sure that does what I need. My DSP limit changes the LimitSwitchOptions on-the-fly - has to in order to handle the way limit switches are configured on my machine. It doesn't appear to me that the TuningParameters->LimitSwitch value gets updated dynamically.
Regards, Ray L.
--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote: > > I updated the .net source to implement the limit switch functionality as you would find it when configuring in KMotion.exe -> Setup and Config. > > Have a look at the TuningParams property of the KM_Axis object and let me know if you have any questions. > > > As previously stated, this was implemented in MM and I did test it there, but have not tested it here. Please report your findings. > > -Brad > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote: > > > > Tom, > > > > What I'd like to be able to do is read the limit switch options from my app, to aid in limit handling in the app. Is there a way to do that? > > > > Also, right now, when I hit a limit, the axis is getting disabled, but when I check the enable state through dotNet, it does not show as disabled. I'm still using 429x, so hopefully that is a bug that is fixed in 429? > > > > Regards, > > Ray L. > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote: > > > > > > Hi Ray, > > >  > > > Sorry I missed this. But I'm not exactly sure what you are asking. > > >  > > > There is a Console Script command that can set the Limit Switch Options. See: > > >  > > > http://www.dynomotion.com/Help/Cmd.htm#LimitSwitch > > >  > > > When an axis hits a limit the axis is disabled. > > >  > > > A message is sent to the Console such as: > > >  Axis:N > > >  > > > Otherwise you might need to check the limit input bit status. > > >  > > > Regards > > > TKNeg Limit Disabled > > > > > > From: himykabibble <jagboy@> > > > To: DynoMotion@yahoogroups.com > > > Sent: Tuesday, May 29, 2012 5:26 PM > > > Subject: [DynoMotion] Re: dotNet Question > > > > > > > > >  > > > No answer on this?? > > > > > > --- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@> wrote: > > > > > > > > How can I access the channel structure LimitSwitchOptions field from a dotNet app? Or, is there some other way to determine that an axis has hit a limit? > > > > > > > > Regards, > > > > Ray L. > > > > > > > > > >
|
|
| |